package com.fuqi.framework.network.code;


import com.fuqi.android.zhongcai.utils.ActivityUtils;

/**
 * Created by juner on 2015/12/29.
 */
public class HandleCode {

    public static int code = 0;
    public static String headerMessage = "";

    public static boolean requestSuccess() {

        if (code == 0) {
            return true;
        } else {
            ActivityUtils.toast(headerMessage);
            return false;
        }

    }

}
